import 'package:flutter/cupertino.dart';
import 'package:oktoast/oktoast.dart' as oktoast;

class ToastUtils {
  static showToast({
    required String msg,
    Duration? duration,
    oktoast.ToastPosition? position,
    bool? dismissOtherToast,
  }) {
    oktoast.showToast(msg,
        duration: duration,
        position: position,
        dismissOtherToast: dismissOtherToast);
  }
}